const fp = require('lodash/fp')
const { Container } = require('./support')

const xs = Container.of(['do', 'ray', 'me', 'fa', 'so', 'la', 'ti', 'do'])

/**
 *
 * @param {Container} container
 */
const ex2 = container => {
  return container.map(fp.map(fp.first))
}

console.log('执行ex2的结果为', ex2(xs))
